Skip to content

Conversation

@sjorobekov
Copy link
Contributor

No description provided.

@sjorobekov sjorobekov requested a review from imsitnikov October 23, 2025 11:22
@sjorobekov sjorobekov changed the title WIP: Check License on Entry Get Check License on Entry Get Oct 23, 2025
@sjorobekov sjorobekov marked this pull request as ready for review October 23, 2025 16:52
},
},
licenseAssignment: {
relation: Model.HasOneRelation,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like ManyToMany

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this context the result can have only one LicenseAssignment. Something similar we have with Favorites

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presentation would be more transparent in this case ;)

licenseAssignment?: {
licenseAssignmentId?: string;
expiredAt?: string | null;
licenseType?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. We have LicenseType enum.
  2. Why all fields are optional?

},
},
licenseAssignment: {
relation: Model.HasOneRelation,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presentation would be more transparent in this case ;)

…ns-us into DLAPI-570_check_license_on_entries_routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants